package com.fs.cv.pojo.pojodao;

/**
 * <p>角色权限实体类RolePermission</p>
 *
 * @author : smy
 * @date : 2020-09-16 18:34
 **/
public class RolePermission {
    private int id;//
    private int roleId;
    private int permissionId;

    public RolePermission() {
    }

    public RolePermission(int id, int roleId, int permissionId) {
        this.id = id;
        this.roleId = roleId;
        this.permissionId = permissionId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public int getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(int permissionId) {
        this.permissionId = permissionId;
    }

    @Override
    public String toString() {
        return "RolePermission{" +
                "id=" + id +
                ", roleId=" + roleId +
                ", permissionId=" + permissionId +
                '}';
    }
}
